package requests

import "app/common/params"

type MapListRequest struct {
	Type       int `json:"type" form:"type" validate:"required"`
	Cityid     int `json:"cityid" form:"cityid"`
	Provinceid int `json:"provinceid" form:"provinceid"`
	params.ParamsPagination
}

type MapEditRequest struct {
	Id         int64  `json:"id" `
	Areaid     int    `json:"areaid" `
	Area       string `json:"area" `
	Cityid     int    `json:"cityid" `
	City       string `json:"city" `
	Provinceid int    `json:"provinceid"`
	Province   string `json:"province"`
	Type       int    `json:"type" validate:"required"`
}

const (
	PROVINCES = 1
	CITY      = 2
	AREA      = 3
)
